package cn.edu.dgut.sai.config;

import cn.edu.dgut.sai.event.EventConfig;
import org.springframework.context.annotation.*;

/**
 * @author Sai
 * Created by Sai on 2019/9/6.
 */
@Configuration
@Sai
@Conditional(ConditionSai.class)//限定@Bean的有效性
@Import({TestConfig.class,DataSourceConfig.class, EventConfig.class})
@PropertySource("classpath:sai.properties")
@ComponentScan(basePackages = "cn.edu.dgut.sai.aop")
@EnableAspectJAutoProxy// 第一步，启用aop支持
public class ImportConfig {
}
